#import <UIKit/UIKit.h>
#import "SDCycleScrollView.h"
#import "DeviceClassCollectionViewCell.h"
#import "DeviceTableViewCell.h"
#import "DeviceClass.h"
#import "Device.h"
//HomeViewController 将遵守 3 个控件要求的 6 个协议
@interface HomeViewController : UIViewController <SDCycleScrollViewDelegate,
UICollectionViewDataSource,UICollectionViewDelegate,
UICollectionViewDelegateFlowLayout,UITableViewDataSource,UITableViewDelegate>
//添加 3 个视图控件变量
@property (nonatomic,strong) SDCycleScrollView *bannerScrollView;
@property (nonatomic,strong) UICollectionView *deviceClassCollectionView;
@property (nonatomic,strong) UITableView *deviceTableView;
//添加 2 个数据源数组
@property (nonatomic,strong) NSMutableArray *deviceClassArray;
@property (nonatomic,strong) NSMutableArray *deviceArray;
@end
